package com.zyc.exception;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author zyc
 * @create 2022-02-12-15:41
 */
@Data
@AllArgsConstructor // 生成有参构造
@NoArgsConstructor // 生成无参构造
public class GuliException extends RuntimeException {
    @ApiModelProperty(value = "状态码")
    private Integer code;

    private String msg;
}
